home *** CD-ROM | disk | FTP | other *** search
/ United Public Domain Gold 2 / United Public Domain Gold 2.iso / utilities / pu316.dms / pu316.adf / spool / spool.doc < prev   
Text File  |  1988-04-18  |  3KB  |  95 lines

  1. Amiga Print Spooler
  2. -------------------
  3.  
  4. **************************************************************
  5.  
  6. Spool and LP are Copyright (c) 1988 Martin Fisher.
  7. They may be copied to bulletin boards etc freely,  but
  8. if you like (and use) the programs then you should perhaps
  9. send me a small contribution.  
  10. Commercial distribution (of any kind) is forbidden without 
  11. my permission - some renumeration will be required!
  12.  
  13. **************************************************************
  14.  
  15. The programs Spool and Lp correct a failing (it seems to me) of 
  16. AmigaDOS - the difficulty of printing files (especially in the 
  17. background). They provide a UNIX style LP command, a proper
  18. print queue, and some buffering of files.
  19.  
  20. To use the spooler, copy Spool and Lp to c:.
  21.  
  22. Run Spool (preferably in the startup-sequence).
  23.  
  24. lp commands (to print files etc)
  25.  
  26. Spool handles the printer device and print queue, and remains in
  27. memory.
  28. Spool only opens PRT: when necessary - this allows control
  29. sequences to be sent to the printer (using copy * prt: etc) or
  30. other programs to use prt: (or par:) (it also allows the printer 
  31. device to be purged from memory if required).
  32.  
  33. Lp is used to send commands to the spooler.
  34. The following commands being supported:
  35.  
  36.   lp filename           - print filename.
  37.   lp -c n               - cancel a print file.
  38.   lp -s                 - display print queue.
  39.   lp -q                 - remove spooler from memory.
  40.  
  41. Filenames may be quoted (eg "file 1" or 'file 1') if they contain
  42. spaces (or start with a hyphen).
  43.  
  44. Multiple commands may be specified:
  45.  
  46.   eg lp a b c -c3 -s  (print a,b and c, cancel job 3, show status)
  47.   (this is the equivalent of lp a
  48.                              lp b
  49.                              lp c etc)
  50.  
  51.    
  52. NB Commands after a Quit (-q) will be ignored.
  53.    Cancelling the file currently being printed is possible, but
  54.    the contents of the buffer (ie upto 5K) will be printed 
  55.    before the file is cancelled.  (Using AbortIO caused problems!)
  56.    
  57.  
  58. About Spool and Lp
  59.  
  60. Both programs were written entirely in Modula-2 (M2S), and are
  61. hereby submitted as Shareware to the Amiga population. So
  62. share and enjoy (but please give people a copy of these 
  63. instructions with the copyright message intact).
  64.  
  65. Comments (or even contributions) can be sent to me
  66.  
  67.   Martin Fisher
  68.   2 Castle Street
  69.   Thornbury
  70.   Bristol
  71.   BS12 1HB
  72.   ENGLAND
  73.  
  74. Comments can also be sent to me on CIX (0483-573337) (mfisher).
  75.  
  76. Source will only be available on request.
  77.  
  78.  
  79.  
  80.  
  81. Future developments.
  82.  
  83. A wildcard facility is the main improvement I would like to see,
  84. and may be forthcoming if I get some feedback.
  85. It would be nice to make Spool terminate and stay resident -
  86. any recommendations as to where I can get a description of
  87. how to do this would be much appreciated (any language).
  88.  
  89.  
  90.  
  91. Martin Fisher.
  92.  
  93.  
  94.  
  95.